$OpenBSD: patch-contrib_lpeg_CMakeLists_txt,v 1.2 2017/03/08 17:02:13 sthen Exp $
--- contrib/lpeg/CMakeLists.txt.orig	Sun Dec 25 11:19:27 2016
+++ contrib/lpeg/CMakeLists.txt	Sun Mar  5 15:28:22 2017
@@ -5,9 +5,6 @@ SET(LPEGSRC lpcap.c
         lpvm.c)
 
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-    SET(LPEG_CFLAGS "${LPEG_CFLAGS} -O3")
-endif ()
 ENDIF()
 
 SET(LIB_TYPE STATIC)
